#!/bin/bash
# -----------------------------------------------------------------
# FileName: 1-test.sh
# Date: 2020-08-26
# Author: jiftle
# Description: 
# -----------------------------------------------------------------

# 生成golang代码
# protoc --proto_path=proto:. --micro_out=proto/ --go_out=../proto/ ../proto/user.proto

# 测试服务
micro \
--registry=etcd \
--registry_address=127.0.0.1:2379 \
call \
go.micro.api.schkeyserv KeyServ.GetPsk \
'{"keyIndex":1,"dvsNum":2,"dvsData":""}'



